package com.zuipin.entity;

import java.io.Serializable;
import java.math.BigDecimal;

import com.zuipin.enums.CashBackRecordType;

/**
 * 返现记录表
 * 
 * @ClassName: CashBackRecord
 * @author wuyicheng 
 * @time 2017年4月18日下午4:43:18 
 **/
public class CashBackRecord implements Serializable {
	
	private static final long	serialVersionUID	= 1L;
	
	private Long				id;							//
	
	private Short				delFlag;					// 删除标志:1是删除，0是未删除
	
	private Long				createId;					// 创建者
	
	private String				createTime;					// 创建时间
	
	private Long				updateId;					// 更新者
	
	private String				updateTime;					// 更新时间
	
	private Long				memberId;					// 会员ID
	
	private Long				sysId;						// 系统ID
	
	private BigDecimal			beforeAmount;				// 返现前余额
	
	private BigDecimal			afterAmount;				// 返现后余额
	
	private BigDecimal			amount;						// 返现金额
	
	private CashBackRecordType	recordType;					// 类型 首赠 购物赠 抵扣 退货返现回收 退货返现返还
	
	private String				remark;						// 备注
	
	public void setId(Long id) {
		this.id = id;
	}
	
	public Long getId() {
		return this.id;
	}
	
	public void setDelFlag(Short delFlag) {
		this.delFlag = delFlag;
	}
	
	public Short getDelFlag() {
		return this.delFlag;
	}
	
	public void setCreateId(Long createId) {
		this.createId = createId;
	}
	
	public Long getCreateId() {
		return this.createId;
	}
	
	public void setCreateTime(String createTime) {
		this.createTime = createTime;
	}
	
	public String getCreateTime() {
		return this.createTime;
	}
	
	public void setUpdateId(Long updateId) {
		this.updateId = updateId;
	}
	
	public Long getUpdateId() {
		return this.updateId;
	}
	
	public void setUpdateTime(String updateTime) {
		this.updateTime = updateTime;
	}
	
	public String getUpdateTime() {
		return this.updateTime;
	}
	
	public void setMemberId(Long memberId) {
		this.memberId = memberId;
	}
	
	public Long getMemberId() {
		return this.memberId;
	}
	
	public void setSysId(Long sysId) {
		this.sysId = sysId;
	}
	
	public Long getSysId() {
		return this.sysId;
	}
	
	public void setBeforeAmount(BigDecimal beforeAmount) {
		this.beforeAmount = beforeAmount;
	}
	
	public BigDecimal getBeforeAmount() {
		return this.beforeAmount;
	}
	
	public void setAfterAmount(BigDecimal afterAmount) {
		this.afterAmount = afterAmount;
	}
	
	public BigDecimal getAfterAmount() {
		return this.afterAmount;
	}
	
	public void setAmount(BigDecimal amount) {
		this.amount = amount;
	}
	
	public BigDecimal getAmount() {
		return this.amount;
	}
	
	public void setRecordType(CashBackRecordType recordType) {
		this.recordType = recordType;
	}
	
	public CashBackRecordType getRecordType() {
		return this.recordType;
	}
	
	public void setRemark(String remark) {
		this.remark = remark;
	}
	
	public String getRemark() {
		return this.remark;
	}
	
}
